package com.cw.controller;


import com.cw.annotation.*;
import com.cw.common.constant.*;
import com.cw.entity.*;
import com.cw.service.*;
import io.swagger.annotations.*;
import java.util.*;
import org.springframework.beans.factory.annotation.*;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.RestController;

/**
* @author smq
* @since 2021-05-09
*/
@Api(tags = {"住院预约表"})
@RestController
@RequestMapping("/cwgl-prepayin")
public class CwglPrepayinController {

    @Autowired
    private ICwglPrepayinService targetService;


    @GetMapping("/getById/{id}")
    @ApiOperation("查看")
    @ResultObjectAnnotation(DmlTypeConstant.SELECT)
    public Object getById(@PathVariable String id) {
        return targetService.getById(id);
    }

}

